package cn.xzzz2020.demo.controller;

import cn.xzzz2020.XJynWeb.ioc.core.annotation.Controller;
import cn.xzzz2020.XJynWeb.ioc.inject.annotation.Autowired;
import cn.xzzz2020.demo.service.MainPageService;



@Controller
public class MainPageController {
    /**
     * 测试如果多个实现类的注入问题
     */
    @Autowired("MainPageServiceImpl1")
    private MainPageService mainPageService;

    public MainPageService getMainPageService() {
        return mainPageService;
    }
}
